package com.itheima.demo_date;

import java.time.Duration;
import java.time.LocalDateTime;

public class Demo_003 {
    public static void main(String[] args) {
        LocalDateTime ld = LocalDateTime.now();
        LocalDateTime localDateTime1 = LocalDateTime.of(1994, 3,
                8, 2, 4, 4);
        Duration between1 = Duration.between(localDateTime1, ld);
        System.out.println("张晗来到这个世界" + between1.toDays());


    }
}
